package com.hitqz.robot.driver.dto.robot;

/**
 * @author xupkun
 * @date 2024/10/29
 */
public class RobotCustomInfo {


    /**
     * 标签
     */
    private String label;

    /**
     * 值
     */
    private String value;

    /**
     * key
     */
    private String key;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }



    public static RobotCustomInfo create(String key, String label, String value) {
        RobotCustomInfo robotInfo = new RobotCustomInfo();
        robotInfo.setKey(key);
        robotInfo.setLabel(label);
        robotInfo.setValue(value);
        return robotInfo;
    }
}
